﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EFFC.Net.Interface
{
    public interface IModule
    {
        void SetValue(string columnName, object value);
        /// <summary>
        /// 獲取數據
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="columnName"></param>
        /// <returns></returns>
        T GetValue<T>(string columnName);
        /// <summary>
        /// 獲取數據
        /// </summary>
        /// <param name="columnName"></param>
        /// <returns></returns>
        object GetValue(string columnName);
        /// <summary>
        /// 获取欄位名稱
        /// </summary>
        List<string> ColumnNames
        {
            get;
        }
    }
}
